package com.cdd.common.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Entity基类
 * 
 * @author jxlc
 */
@Data
public class BaseEntity implements Serializable {

    /**
     * id
     */
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createtime;
}
